package com.yic.module.device.controller.admin.inspectionRecordInfo.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 巡检/点检记录明细分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InspectionRecordInfoPageReqVO extends PageParam {

    @Schema(description = "记录ID")
    private Long recordId;

    @Schema(description = "计划ID")
    private Long planId;

    @Schema(description = "设备ID")
    private Long deviceId;

    @Schema(description = "任务ID")
    private Long jobId;

    @Schema(description = "检查项ID")
    private Long entryId;

    @Schema(description = "检查状态")
    private Integer status;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "图片")
    private String images;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;



    @Schema(description = "计划名称")
    private String planName;
    @Schema(description = "设备名称")
    private String name;
    @Schema(description = "设备编码")
    private String code;


    @Schema(description = "计划id集合")
    private List<String> planIdList;
    @Schema(description = "设备id集合")
    private List<String> deviceIdList;
}
